USBDeview v1.27
Copyright (c) 2006 - 2008 Nir Sofer
Web Site: http://www.nirsoft.net

Description

USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used.
For each USB device, exteneded information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more...
USBDeview also allows you to uninstall USB devices that you previously used, and disconnect USB devices that are currently connected to your computer.
You can also use USBDeview on a remote computer, as long as you login to that computer with admin user.

License

This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

System Requirement

This utility works on Windows 2000/XP/2003/Vista. Windows 98/ME is not supported. In order to disable/enable USB items under Vista with UAC turned on, you should right click on USBDeview and choose 'Run As Administrator'.

Versions History

Using USBDeview

USBDeview doesn't require any installation process or additional DLL files. Just copy the executable file (USBDeview.exe) to any folder you like, and run it.
The main window of USBDeview displays all USB devices installed on your system. You can select one or more items, and then disconnect (unplug) them , uninstall them, or just save the information into text/xml/html file.

USBDeview Columns Description

AutoPlay

Starting from version 1.10, USBDeview allows you to automatically run a file on USB flash memory devices, according to AutoRun.inf filename. You can manually activate the AutoPlay feature by selecting the desired device and pressing F8. Alternatively, You can check the "AutoPlay When Device Is Connected" option, and then the AutoPlay feature will be automatically activated when you insert a USB flash memory device.
Be aware that this feature only works if USBDeview detects the drive letter of the device.

Execute a command when you insert a USB device

Starting from version 1.10, USBDeview allows you to execute a command from exe/cmd/bat file in every time that insert a USB device to your system. In order to use this feature, go to 'Options->Advanced Options', select the 'Execute..' check-box, and type the exe/cmd file that you want to run. You can also use the following special variables in this command string: %device_name%, %device_desc%, %drive%, %serial_number%, %vid%, %pid%
USBDeview will automatically replace these variables with the appropriate data of the device that you inserted. For example, if you want to pass to your exe file 2 parameters - the serial number of the device, and the drive letter:
c:\temp\test.exe "%serial_number%" "%drive%"

Known Limitations/Issues

Connecting To Remote Computer

The following command-line options allows you to connect to remote computers. You must login to the remote computer with admin user in order to use these options.

Connecting To external SYSTEM registry file

If you have the 'SYSTEM' registry file of external operating system, you can use the following command-line option to read the USB devices list from it:
/regfile <SYSTEM Registry File>

For Example:
USBDeview.exe /regfile "c:\temp\regfiles\SYSTEM"
USBDeview.exe /regfile "d:\windows\system32\config\SYSTEM"

This option has some limitations:

Stop/Disconnect Command-Line Options

Disable/Enable/Remove Command-Line Options

Starting from version 1.20, you can also use the following commands to disable, enable or remove USB devices from command-line:

Save Command-Line Options

/stext <Filename> Save the list of all USB devices into a regular text file.
/stab <Filename> Save the list of all USB devices into a tab-delimited text file.
/scomma <Filename> Save the list of all USB devices into a comma-delimited text file.
/stabular <Filename> Save the list of all USB devices into a tabular text file.
/shtml <Filename> Save the list of all USB devices into HTML file (Horizontal).
/sverhtml <Filename> Save the list of all USB devices into HTML file (Vertical).
/sxml <Filename> Save the list of all USB devices to XML file.

Translating USBDeview to other languages

In order to translate USBDeview to other language, follow the instructions below:
  1. Run USBDeview with /savelangfile parameter:
    USBDeview.exe /savelangfile
    A file named USBDeview_lng.ini will be created in the folder of USBDeview utility.
  2. Open the created language file in Notepad or in any other text editor.
  3. Translate all string entries to the desired language. Optionally, you can also add your name and/or a link to your Web site. (TranslatorName and TranslatorURL values) If you add this information, it'll be used in the 'About' window.
  4. After you finish the translation, Run USBDeview, and all translated strings will be loaded from the language file.
    If you want to run USBDeview without the translation, simply rename the language file, or move it to another folder.

Feedback

If you have any problem, suggestion, comment, or you found a bug in my utility, you can send a message to nirsofer@yahoo.com